<?php

App::uses('AppModel', 'Model');
App::uses('CompositeKeyModel', 'Model');

/**
 * OrganisationRoleModule Model
 */
class OrganisationRoleModule extends CompositeKeyModel {

    //The Associations below have been created with all possible keys, those that are not needed can be removed

    public $useDbConfig = "organisations";

    /**
     * belongsTo associations
     *
     * @var array
     */
    public $belongsTo = array(
        'OrganisationRole' => array(
            'className' => 'OrganisationRole',
            'foreignKey' => 'organisation_role_id',
            'conditions' => '',
            'fields' => '',
            'order' => ''
        ),
        'Module' => array(
            'className' => 'Module',
            'foreignKey' => 'module_id',
            'conditions' => '',
            'fields' => '',
            'order' => ''
        )
    );
}
